import 'package:flutter/material.dart';
import "package:get/get.dart";

class Solution extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          centerTitle: true,
          backgroundColor: Color(0xffffffff),
          leadingWidth: 40,
          title: Text('查看解决方案'),
          leading: IconButton(
            onPressed: () {
              Get.back();
              print('object');
            },
            icon: Image.asset('static/images/back.png'),
          ),
        ),
        body: Column(
          children: [
            Container(
              margin: EdgeInsetsDirectional.symmetric(horizontal: 15),
              padding:
                  EdgeInsetsDirectional.symmetric(vertical: 10, horizontal: 15),
              decoration: BoxDecoration(
                  borderRadius: BorderRadius.circular(10),
                  border: Border.all(color: Color(0xffdddddd))),
              child: Row(
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Text(
                    '猫猫为啥流泪',
                    style: TextStyle(fontSize: 14),
                  ),
                ],
              ),
            ),

            Container(
              margin: EdgeInsetsDirectional.symmetric(horizontal: 15,vertical: 15),
              padding:
                  EdgeInsetsDirectional.symmetric(vertical: 10, horizontal: 15),
              decoration: BoxDecoration(
                  borderRadius: BorderRadius.circular(10),
                  border: Border.all(color: Color(0xffdddddd))),
              child: Text(
                    '1、猫咪所处的环境导致。如果猫咪生活的环境十分干燥、炎热，那么猫咪的鼻子就会干干的。 2、猫咪睡觉的原因。因为睡觉时体温比较恒定，猫咪也没有太多的能量消耗，鼻子会呈现干燥的状态。 3、猫咪生病时鼻子会干。可能因为猫咪便秘上火、感冒发烧。 4、猫咪食用的猫粮可能对此品种的猫存在一些负面效果导致，可尝试以下鲜食改善猫咪食物。',
                    style: TextStyle(fontSize: 14),
                  ),
            )
          ],
        ));
  }
}
